package com.yic.module.mes.controller.admin.mo.vo;

import com.yic.module.mes.api.moroute.dto.MoRouteRespDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

@Schema(description = "管理后台 - 生产排产 Response VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class MoFormsRespVO extends MoBaseVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "25051")
    private Long id;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    private LocalDateTime createTime;

    @Schema(description = "工厂", requiredMode = Schema.RequiredMode.REQUIRED, example = "25255")
    private String factoryName;

    @Schema(description = "生产车间", requiredMode = Schema.RequiredMode.REQUIRED, example = "25255")
    private String workshopName;

    @Schema(description = "产品名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "25255")
    private String itemName;

    @Schema(description = "产品代码", requiredMode = Schema.RequiredMode.REQUIRED, example = "25255")
    private String itemCode;

    @Schema(description = "产品规格", requiredMode = Schema.RequiredMode.REQUIRED, example = "25255")
    private String itemSpec;

    @Schema(description = "产品图号", requiredMode = Schema.RequiredMode.REQUIRED, example = "25255")
    private String drawCode;

    @Schema(description = "工序", requiredMode = Schema.RequiredMode.REQUIRED, example = "25255")
    private Long processId;

    @Schema(description = "工序", requiredMode = Schema.RequiredMode.REQUIRED, example = "25255")
    private String processName;

    @Schema(description = "合计报工数量", requiredMode = Schema.RequiredMode.REQUIRED, example = "25255")
    private BigDecimal reportAmountSum;

}
